package com.neu.his.entity;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

@Data
public class Menu extends Base{
    private String name;
    private String path;

    @TableField(exist = false)
    private List<Role> roleList;

    @Override
    public String toString(){
        return JSON.toJSONString(this);
    }
}

